package com.itic.web.company.controller;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

import com.itic.appbase.framework.common.controller.BaseController;
import com.itic.web.company.service.CompanyService;
import com.itic.web.qo.TokenData;
import com.itic.web.ro.ResResult;



@Controller
@RequestMapping(value="/app/company")
public class CompanyController extends BaseController {
    @Autowired
    private CompanyService companyService;

    
    /**
     * 公司简介
     */
    @RequestMapping(value="/getIndex")
    @ResponseBody
    public ResResult getIndex(TokenData data,String noticeType){
    	return companyService.getIndex(data,noticeType);
    }
    /**
     * 公司简介
     */
    @RequestMapping(value="/getActions")
    @ResponseBody
    public ResResult getActions(TokenData data){
    	return companyService.getActions(data);
    }
    
}